package org.dtrd.modules.achievement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.dtrd.modules.achievement.entity.bean.Achievement;
import org.dtrd.modules.achievement.entity.po.DtrdEntRdSigninAchievement;

import java.util.List;

public interface DtrdEntRdSigninAchievementMapper extends BaseMapper<DtrdEntRdSigninAchievement> {

    List<DtrdEntRdSigninAchievement> selectScoreByPatientIdDate(@Param("patientId") Integer patientId, @Param("recordDate") String recordDate);

    List<DtrdEntRdSigninAchievement> selectScoreByPatientIdDatePeriod(@Param("patientId") Integer patientId, @Param("startDate") String startDate, @Param("endDate") String endDate);
}